﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;

namespace Axis.Web.Views.Product
{
    public partial class TopProduct : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string CateID = "27";
            if (Request.QueryString["ID"] != null)
                CateID = Request.QueryString["ID"].ToString();
            StringBuilder scriptServerConfig = new StringBuilder();
            scriptServerConfig.AppendFormat("var CateID='{0}';\n", CateID);
            Page.ClientScript.RegisterClientScriptBlock(Page.GetType(), "ServerConfig",
                                  scriptServerConfig.ToString(), true);
        }
    }
}